package com.example.game.hff;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.event.KeyEvent;
import java.util.LinkedList;

public class MainMenu implements Constants{
	
	private Image image;//표시될 이미지
	private int x, y;//위치 정보

		
	public MainMenu(Image image) {
		this.image = image;
		x = 0;
		y = 0;
		
	}
			
	public void draw(Graphics g) {
		g.drawImage(image, x, y, null);
	}
	
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
	
	public int getWidth() {
		return image.getWidth(null);
	}
	
	public int getHeight() {
		return image.getHeight(null);
	}

}